<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"><script src="https://unpkg.com/vue@next"></script>
    <title>Document</title>
</head>
<body>
    <div id="app">
          登录名：<input type="text" v-model="account">
          密码：<input type="password" v-model="password">
            <p>{{account}}<p>
            <p>{{password}}<p>
    </div>
    <script>
        const app = Vue.createApp({
            data(){
                return{
                    account:"",
                    password:""
                }
            }
            
        }).mount("#app")
    </script>
</body>
</html>